<div class="boxNavi">
    <div class="naviItem">
        <div class="naviItems scroll-pane" id="leftNav">        	
            {if $AppUI->id > 0}
                <ul>
                    <li class="firstChild">
                        <h3>FULL-HOUSE</h3>
                        {include file="$ROOT_DIR/library/Vfriend/Plugins/Tpl/box-navi-fullhouse.tpl"}
                    </li>
                    <li>
                        <h3>Nhật ký</h3>
                        <ul>
                            <li><a href="{$smarty.const.LINK_BLOG}" class="{if $strController == "blog" && ($strAction == "daskboard" || $strAction == "detail" || ($strAction == "index" && (!isset($smarty.get.sort) || (isset($smarty.get.sort) && $smarty.get.sort < 5))))}mBlogGreen active{else}mBlog{/if}" onmouseover="this.className=&quot;mBlogGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && ($strAction == "daskboard" || $strAction == "detail" || ($strAction == "index" && (!isset($smarty.get.sort) || (isset($smarty.get.sort) && $smarty.get.sort < 5))))}mBlogGreen active{else}mBlog{/if}&quot;">Nhật ký {$smarty.const.DOMAIN_NAME}</a></li>
                            <li><a href="{blog_username userid=$AppUI->id}" class="{if $strController == "blog" && $strAction == "user"}mBlogMineGreen active{else}mBlogMine{/if}" onmouseover="this.className=&quot;mBlogMineGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && $strAction == "user"}mBlogMineGreen active{else}mBlogMine{/if}&quot;">Nhật ký của tôi</a></li>
                            <li><a href="{$smarty.const.LINK_BLOG_CREATE}" class="{if $strController == "blog" && $strAction == "create"}mBlogCreateGreen active{else}mBlogCreate{/if}" onmouseover="this.className=&quot;mBlogCreateGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && $strAction == "create"}mBlogCreateGreen active{else}mBlogCreate{/if}&quot;">Viết nhật ký mới</a></li>
                            <li><a href="{$smarty.const.LINK_BLOG_SEARCH}" class="{if $strController == "blog" && $strAction == "search"}mBlogSearchGreen active{else}mBlogSearch{/if}" onmouseover="this.className=&quot;mBlogSearchGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && $strAction == "search"}mBlogSearchGreen active{else}mBlogSearch{/if}&quot;">Tìm nhật ký</a></li>
                        </ul>
                    </li>                    
                    <li>
                        <h3>Kết bạn</h3>
                        <ul>
                        	{if $smarty.const.FUNCTION_OFFLINE}
                            	<li><a href="{$smarty.const.LINK_OFFLINE}" class="{if $strController == "offline"}mOfflineGreen active{else}mOffline{/if}" onmouseover="this.className=&quot;mOfflineGreen&quot;" onmouseout="this.className=&quot;{if $strController == "offline"}mOfflineGreen active{else}mOffline{/if}&quot;">Offline</a></li>
                            {/if}
                            {*<li><a href="#" class="{if $strController == "question"}mQuestionGreen active{else}mQuestion{/if}">Tìm bạn tâm giao</a></li>*}
                            <li><a href="{$smarty.const.LINK_MEMBER_INDEX}" class="{if $strController == "member"}mMemberGreen active{else}mMember{/if}" onmouseover="this.className=&quot;mMemberGreen&quot;" onmouseout="this.className=&quot;{if $strController == "member"}mMemberGreen active{else}mMember{/if}&quot;">Tìm bạn</a></li>
                            <li><a href="{$smarty.const.LINK_PRODUCT}" class="{if $strController == "product"}mGiftGreen active{else}mGift{/if}" onmouseover="this.className=&quot;mGiftGreen&quot;" onmouseout="this.className=&quot;{if $strController == "product"}mGiftGreen active{else}mGift{/if}&quot;">Vfriend SHOP</a></li>                            
                        </ul>
                    </li>                  
                </ul>
           	{else}
            	<ul>
                	<li class="firstChild">
                        <h3>Nhật ký</h3>
                        <ul>
                            <li><a href="{$smarty.const.LINK_BLOG}" class="{if $strController == "blog" && ($strAction == "daskboard" || $strAction == "detail" || ($strAction == "index" && (!isset($smarty.get.sort) || (isset($smarty.get.sort) && $smarty.get.sort < 5))))}mBlogGreen active{else}mBlog{/if}" onmouseover="this.className=&quot;mBlogGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && ($strAction == "daskboard" || $strAction == "detail" || ($strAction == "index" && (!isset($smarty.get.sort) || (isset($smarty.get.sort) && $smarty.get.sort < 5))))}mBlogGreen active{else}mBlog{/if}&quot;">Nhật ký {$smarty.const.DOMAIN_NAME}</a></li>
                            <li><a href="{$smarty.const.LINK_BLOG_SEARCH}" class="{if $strController == "blog" && $strAction == "search"}mBlogSearchGreen active{else}mBlogSearch{/if}" onmouseover="this.className=&quot;mBlogSearchGreen&quot;" onmouseout="this.className=&quot;{if $strController == "blog" && $strAction == "search"}mBlogSearchGreen active{else}mBlogSearch{/if}&quot;">Tìm nhật ký</a></li>
                        </ul>
                    </li>  
                    <li>
                        <h3>Kết bạn</h3>
                        <ul>
                        	{if $smarty.const.FUNCTION_OFFLINE}
                            	<li><a href="{$smarty.const.LINK_OFFLINE_PUBLIC}" class="{if $strController == "offline"}mOfflineGreen active{else}mOffline{/if}" onmouseover="this.className=&quot;mOfflineGreen&quot;" onmouseout="this.className=&quot;{if $strController == "offline"}mOfflineGreen active{else}mOffline{/if}&quot;">Offline</a></li>
                            {/if}
                            {*<li><a href="#" class="{if $strController == "question"}mQuestionGreen active{else}mQuestion{/if}">Tìm bạn tâm giao</a></li>*}
                            <li><a href="{$smarty.const.LINK_MEMBER_INDEX}" class="{if $strController == "member"}mMemberGreen active{else}mMember{/if}" onmouseover="this.className=&quot;mMemberGreen&quot;" onmouseout="this.className=&quot;{if $strController == "member"}mMemberGreen active{else}mMember{/if}&quot;">Tìm bạn</a></li>
                            <li><a href="{$smarty.const.LINK_INDEX_LOGIN}" class="{if $strController == "product"}mGiftGreen active{else}mGift{/if}" onmouseover="this.className=&quot;mGiftGreen&quot;" onmouseout="this.className=&quot;{if $strController == "product"}mGiftGreen active{else}mGift{/if}&quot;">Vfriend SHOP</a></li>                        </ul>
                    </li>         
                </ul>
            {/if}
        </div>
    </div>
</div>